package com.zhiyume.api.util;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wang on 17/10/20.
 */
public enum ApiFloorEnum {

    SLIDER(0, "60"),
    TOP(1, "11"),
    IMG(2, "30"),
    VIDEO(3,"10"),
    IMG_BIG(4, "12");

    private String value ;
    private int index ;

    ApiFloorEnum(int index, String value ){
        this.value = value ;
        this.index = index ;
    }


    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }

    public static List<String> getFloor(){
        List<String> navList = new ArrayList<>();
        navList.add(SLIDER.getValue());
        navList.add(IMG.getValue());
        navList.add(VIDEO.getValue());
        return navList;
    }


    public static void main(String[] args){
        System.out.println(ApiFloorEnum.getFloor());
    }
}